package com.ak.common.entity;

import java.util.Date;

import com.ak.common.utils.TimeConverter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.wuwenze.poi.annotation.ExcelField;

import lombok.Data;

@Data
public class BaseEntity {

    @ExcelField(value = "创建时间", writeConverter = TimeConverter.class)
    private Date createTime;

    @ExcelField(value = "修改时间", writeConverter = TimeConverter.class)
    private Date updateTime;

    private String createBy;

    private String updateBy;
    /**
     * 状态（1启用 0不启用）
     */
    @ExcelField(name = "状态", readConverterExp = "0=禁用,1=启用")
    private String status;
    @ExcelField(name = "备注")
    private String remark;
    /**
     * 删除标记
     */
    @ExcelField(name = "删除标识", readConverterExp = "0=未删除,1=已删除")
    private String delFlag;
    
    /**
     * 请求参数
     */
    @JsonIgnore
    private transient String dataScopeSQL;
}
